//
//  XJAddressCell.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/22.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^XJAddressCellSelectButtonBlock)(BOOL isSelect);

typedef void(^XJAddressCellEditButtonBlock)(void);
typedef void(^XJAddressCellDeleteButtonBlock)(void);

@interface XJAddressCell : UITableViewCell

@property(nonatomic, copy) XJAddressCellSelectButtonBlock addressCellSelectButtonBlock;
@property(nonatomic, copy) XJAddressCellEditButtonBlock addressCellEditButtonBlock;
@property(nonatomic, copy) XJAddressCellDeleteButtonBlock addressCellDeleteButtonBlock;

- (void)configureAddressCellWithName:(NSString *)name phone:(NSString *)phone address:(NSString *)address isDefault:(BOOL)idDefault;

@end
